* xgselect.c (xg_select): Use auto storage for the GPollFD buffer
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Aug 2012 20:31:04 +0000 (13:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Aug 2012 20:31:04 +0000 (13:31 -0700)
commitc3e7ef6855f9a546c39bca81f6768ac0cc44c099
tree12c901b664d3d0720bcf07475f68253ba3edac3e
parent03658a33613f2a6c9b7e7f906aa9b38760ae1178
* xgselect.c (xg_select): Use auto storage for the GPollFD buffer

as that's faster and simpler than static storage.  Don't bother
with the g_main_context_query overhead if g_main_context_pending
says no events are pending.
(gfds, gfds_size): Remove these static vars.
(xgselect_initialize): Remove; no longer needed.
All uses and decls removed.
src/ChangeLog
src/xgselect.c
src/xgselect.h
src/xterm.c